import data from "../data/weather_data.json"

export default interface Weather {
    [key: string]: number | string;
    time: number;//1526886000,
    summary: string;//"Mostly cloudy until evening.",
    icon: string;//"partly-cloudy-day",
    sunriseTime: number;//1526905559,
    sunsetTime: number;//1526960941,
    moonPhase: number;//0.23,
    precipIntensity: number;//0,
    precipIntensityMax: number;//0,
    precipProbability: number;//0,
    temperatureHigh: number;//68.8,
    temperatureHighTime: number;//1526947200,
    temperatureLow: number;//51.61,
    temperatureLowTime: number;//1526990400,
    apparentTemperatureHigh: number;//68.8,
    apparentTemperatureHighTime: number;//1526947200,
    apparentTemperatureLow: number;//51.61,
    apparentTemperatureLowTime: number;//1526990400,
    dewPoint: number;//48.35,
    humidity: number;//0.67,
    pressure: number;//1017.72,
    windSpeed: number;//3.33,
    windGust: number;//6.82,
    windGustTime: number;//1526950800,
    windBearing: number;//325,
    cloudCover: number;//0.58,
    uvIndex: number;//7,
    uvIndexTime: number;//1526932800,
    visibility: number;//9.59,
    temperatureMin: number;//52.45,
    temperatureMinTime: number;//1526907600,
    temperatureMax: number;//68.8,
    temperatureMaxTime: number;//1526947200,
    apparentTemperatureMin: number;//52.45,
    apparentTemperatureMinTime: number;//1526907600,
    apparentTemperatureMax: number;//68.8,
    apparentTemperatureMaxTime: number;//1526947200,
    date: string;//"2018-05-21"
}

export const weathers: Weather[] = data as Weather[];